package com.example.test04sql.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.test04sql.entity.TimeData;
import com.example.test04sql.entity.domain.Record;
import com.example.test04sql.entity.query.TimeDataQuery;

import java.util.Date;
import java.util.List;

/**
 * @Author: fxy
 * @Date: 2021/12/28/10:43
 * @Description:
 */
public interface RecordMapper extends BaseMapper<Record> {
    //Date startDate, Date endDate,String type
    /*void createDateTable(String tableName);
    void dropTable(String tableName);
    int insertDateTable(List<String> list);*/
    List<TimeData> selectTimeData(TimeDataQuery query);
    int insertBatch(List<Record> list);
}
